<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Model;

class Slideshow extends Model
{
    use HasDateTimeFormatter;
    use SoftDeletes;

    protected $table = 'slideshow';

    public static function getSlideshowList()
    {
        return self::limit(3)->get();
    }
}
